*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    overflow: hidden;
}
body{
    width: 100%;
    height: 100vh;
    perspective: 100px;
    transform-style: preserve-3d;
    overflow-y: auto;

}
main{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}
.list-item{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 45vh;
    overflow: hidden;
}
.list-item:hover .item-image::before{
    background-color: rgba(0, 0, 0, .1);
}
.item-image{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: translateZ(-50px) scale(2.4);
}
.item-image::before{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
    transition: all .3s ease;
}
.item-image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-text{
    text-align: center;
    color: #fff;
}
.text-title{
    font-size: 2rem;
    font-weight: bolder;
    margin-bottom: 20px;
}
.text-desc{
    font-size: 1.2rem;
}


